package com.market.plus.core.dto;

import java.util.List;

import com.googlecode.simpleobjectassembler.annotation.EntityDto;

@EntityDto(id="id")
public class AlbumDto {

   private Long id;

   private String name;

   private String description;

   private String albumGUID;

   private long participantId;

   private List<ContentFileDto> contentFiles;

   public AlbumDto() {
      
   }

   public Long getId() {
      return id;
   }

   public void setId(Long id) {
      this.id = id;
   }

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public String getAlbumGUID() {
      return albumGUID;
   }

   public void setAlbumGUID(String albumGUID) {
      this.albumGUID = albumGUID;
   }

   public List<ContentFileDto> getContentFiles() {
      return contentFiles;
   }

   public void setContentFiles(List<ContentFileDto> contentFiles) {
      this.contentFiles = contentFiles;
   }

   public String getDescription() {
      return description;
   }

   public void setDescription(String description) {
      this.description = description;
   }

   public long getParticipantId() {
      return participantId;
   }

   public void setParticipantId(long participantId) {
      this.participantId = participantId;
   }

   @Override
   public boolean equals(Object obj) {
      AlbumDto propertyCompare = (AlbumDto) obj;
      if (this.getId().longValue() == propertyCompare.getId().longValue()) {
         return true;
      }
      return false;
   }
}
